package cn.stylefeng.guns.modular.business.frequency.announcement.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 公告
 *
 * @author 余杰
 * @date 2022/11/14 13:38
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_announcement")
public class Announcement extends BaseEntity {

    /**
     * 租户号
     */
    @TableId("id")
    private Long id;

    /**
     * 状态（1正常 2 删除 3 禁用）
     */
    @TableField("del_flag")
    private Integer delFlag;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 内容
     */
    @TableField("content")
    private String content;

    @TableField("tenant_id")
    private Long tenantId;

}
